package cn.lsc.mapper;

import cn.lsc.domain.Person;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;


import java.util.List;

@Mapper
public interface PersonMapper {

    void save(Person person);

    List<Person> loadAll();

    Person loadById(Long id);

    void delete(Long id);

    void update(Person person);
}
